Fixed building Release solution on Debug builds