Fix building script.