Make it possible to run on Mac OS

Also add python bytecode to .gitignore