Update .gitignore and build-bochs to link pthread.