Made generator run under Mac OS X