unistd removed for windows build. fixed bug in surname generator