By any chance to you have lang/v8 installed? I do for www/node Node.JS and seemingly this causes the compile error, uninstalled lang/v8 lets it compile and run, installing lang/v8 now, but not sure if that'll cause issues.