Fix build type