Try to make it compile on windows

Authored by mlaurent on Sep 19 2018, 6:14 AM.