Fixed pre-configure in build script