Fixing Mac + Linux compatibility (part 1 of 3) (WinSide)