A few small fixes to make Moz2D build on Mac again.