Platform support improvements (thanks to François Schnitzler and Nadav Maoz).

Contribution by François Schnitzler: Update install instructions and setup.py to better support MacOS.

Added Ubuntu install instructions, thanks to testing by Nadav Maoz.