linux32 rebuild & build script refactoring