Fixed the build procedure