Fix compilation on Unix