Fixed warnings when building mono