Enabled C++11 in unix builds and fixed list of libs for unix.