Fix #44: cannot compile under Mac OS