changes to build files on Mac