Fix broken library build

Workarround: Add CMAKE_EXE_LINKER_FLAGS in target_link_libraries()
variable contains required libs in order to successfully link
against this library.