Python wrapper updates

Minor changes to the Python wrapper.

- Fix link errors caused by a missing CMake library path
- Update to Cython 0.15.1 to fix issues with threading in run_loop
- Prevent Ptr wrapper objects from being created in Python code for safety