Added 'build' directory to .gitignore.
Wired in getopt. Now have to fix a link error.