updated build script to put builds in build dir