make platform specific changes to build