Add FreeBSD support

This change enables essentia and examples to compile on FreeBSD. Besides roguevector.h, the other sticking point is atomic.h, which compiles fine if you pass in -std=c++11 and bypass the OS specific implementations.