Fix out of tree compilation on Win32