Added -lc++ to other linker flags