Fixing Issue #138 with conditional compilation.

-fPIC disabled on Windows.