Make sure libremotebackend picks up correct flags

This fixes the build if we build with --disable-experimental-pkcs11
Always link libtestremotebackend with -ld

Not only when PKCS11 is enabled
Merge pull request #1821 from rubenk/pick-up-cppflags-in-remotebackend

Pick up cppflags in remotebackend