Fix --std flag (missing a dash)
Remove -Wdeclaration-after-statement warning