Add -Werror and -Wextra to the gcc arguments for good measure.