fixed a compile error with getudid.cpp
updated .gitignore