Corrected isinf/nan/normal for MSVC
Few fixes for running tests on Windows