fix build of shared libraries

even if `CPP-NETLIB_BUILD_SHARED_LIBS` was set to `ON` or `TRUE`, the shared
libraries were not build unless `BUILD_SHARED_LIBS` also was enabled.

now either of the two needs to be set to enable shared libraries.

Tested with GCC 4.7 and Boost 1.53