Split Linux-specific and OS X specific stuff. Add include_directories

Only add the -std=c++11 flag when needed, don't touch current flags.