create seperate build script for 32bit
renaming and minor refactoring