add system check for more convenient and test for mac os x