Added Wpedantic to compile flags