Updated configure from Linux
Made getfiles/getdirs/rmtree skip . and ..