removed extra code
fix #642, added function_exist(posix_*)