Removed -std=c++11 and -pedantic from compile flags