fix linking order in svg c++ tests