Rename flags for build script from -foo to -enable-foo