specify release mode in build script