Link heartbeat_test with the static version of the libraries