utility.cpp: Make compile on OS X