Require at least CMake 2.8.9.
Use POSITION_INDEPENDENT_CODE CMake property.

New in 2.8.9, much cleaner than the previous "solution". Also cleaned up
the surroundings a bit.
Don't force PIC for static plugins.

The user can now easily set that with POSITION_INDEPENDENT_CODE
property.
No need to install static test libraries on Windows.