check for getuid method existence