Added configure check for getpwuid.