Simplify process handle in OS X
Fix style error