Fix to pass-through of build type configuration