bumped version of nginx to 1.4.7
add compiler options for Mac
fix mistake