CMake: Added OpenMP to linker flags when building libaries.

The OpenMP flag was only set for exectuables, leading to failures
when building libviennacl.so on MinGW.

Reported-by: skn123 on GitHub in #72