Fixing up the makefiles for release builds in 10.2