compilation fix (windows)