Fixing Issue #166 with conditional compilation.

-fPIC disabled on Windows.