Python needs some hints to return values as void* correctly
- Also added some autodetection for OSX to find the libraries