Fix cppmaniptest linkage