Added posix_getuid() to check if it is running as root
Merge pull request #1 from shoghicp/patch-1

Added posix_getuid() to check if it is running as root