fix linux compilation, enforce bracing and parens