singular: fix compilation on Mac OS X 10.7