Attempt to fix cross-platform capatability.