Fix warnings.

Most of this will be rewritten anyway, but I was finally sufficiently
annoyed by the warnings now to fix them anyway :)
Remove OIS dependency from configure.

The OIS code was removed long ago.  Removed the deps from the Windows
build back then but forgot to remove it from configure.ac.
Merge branch 'master' into rulebook
Fix compilation on GCC.