update build script for x86_64