Fixed warnings as shown by the extra compile flags.