Fix build scripts for linux 32 and 64