Fixed base SDK to 10.8 (for Xcode 5)
Fixed hanging problem in OS X Mavericks (>= 10.9)