fixing windows build errors
specifying type for float-double ambiguities