Warning fixes
Created by: jlegeny
This PR fixes some of the warnings and errors that are present on an Unix system.
Warnings were due to:
- virtual functions with bad signatures
- deprecated frameworks still present in code
- on macOS the OpenMP handling is weird, since the platform is unsupported this fix simply disables OpenMP on macOS