Added a .gitignore file.
Changed the C++11 flag for gcc to be -std=c++0x, since -std=c++11 only exists in gcc 4.7 and up.
Added librt.so to the linker for shm_* and clock_gettime
Merge pull request #1 from halfy/master

Fixes to build with gcc4.6 on Ubuntu 12.04