corrected compiler flags to enable ARC build for OS X lib