Issue#298: Fix compilation on Windows