Plugins now use the new OpenSimConfig.cmake.

Also the plugins weren't compiling. Fixed the errors and loosely checked
that the results were close to the expected results.