Removed references to c++ flags that is unused

Also fixed a typo in a comment