Fix compilation of most of the math tests on Windows (in case of out of source build)