Add -Wsemicolon-before-method-body if available.