fixed a few more gcc49 compat flag issues