Remove unnecessary target_link_libraries.

This will cause failures when building with emscripten due to multiply
defined symbols.