Fix build configurations