Mac OS X compile success