Supports both of GNU and BSD version `stat` . fixed #399
Supports both of GNU and BSD version `stat` . fixed #399

Signed-off-by: Rack Lin <4316f05055309cf237e0fde316dbde39db851065@gmail.com>

davidfuhr/phpbrew,pinkbigmacmedia/phpbrew,wellic/phpbrew,pierredup/phpbrew,dduca-sugarcrm/phpbrew,williamn/phpbrew,pinkbigmacmedia/phpbrew,dduca-sugarcrm/phpbrew,morozov/phpbrew,morozov/phpbrew,hechunwen/phpbrew,viniciusferreira/phpbrew,svetlyak40wt/phpbrew,konomae/phpbrew,wellic/phpbrew,dduca-sugarcrm/phpbrew,pierredup/phpbrew,wellic/phpbrew,konomae/phpbrew,williamn/phpbrew,kayyyy/phpbrew,viniciusferreira/phpbrew,svetlyak40wt/phpbrew,davidfuhr/phpbrew,williamn/phpbrew,viniciusferreira/phpbrew,phpbrew/phpbrew,pinkbigmacmedia/phpbrew,kayyyy/phpbrew,zonuexe/phpbrew,kayyyy/phpbrew,hechunwen/phpbrew,hechunwen/phpbrew,pierredup/phpbrew,mengzyou/phpbrew,zonuexe/phpbrew,konomae/phpbrew,mengzyou/phpbrew,davidfuhr/phpbrew,zonuexe/phpbrew,davidfuhr/phpbrew,konomae/phpbrew,zonuexe/phpbrew,svetlyak40wt/phpbrew,williamn/phpbrew,svetlyak40wt/phpbrew,pinkbigmacmedia/phpbrew,hechunwen/phpbrew,mengzyou/phpbrew,mengzyou/phpbrew,viniciusferreira/phpbrew,wellic/phpbrew,davidfuhr/phpbrew,kayyyy/phpbrew,phpbrew/phpbrew,pierredup/phpbrew,phpbrew/phpbrew,dduca-sugarcrm/phpbrew