fixing case sensitivity issues with build type