Fixed non-float usage breaking Windows building