create obj dir if not exist in build script
littile improvements in build script