Few fixes, may revert these if they cause issues on other systems. Can't build on osx without these
Merge branch 'master' of https://github.com/MobileMoodle/MobileMoodleApp