Update build script, fix outdated macro reference