Fix math tests for windows