Fix build configurations.