Fix for portabiliy.

Notably Windows