@ahendrix was correct, the issue was some unnecessary linking in pr2_mechanism_model/CMakeLists.txt.