Fix all compiler warnings

Also fix SwankProtocolConversionsSpec tests on Windows