improvements in build script for linux