Fixes for Linux building. Need to update the CMake build scripts to do better platform detection for .so versus .pyd and move everything to dynamic linking.
Only change libpygibbs extension if we're on windows