Build MOC on Ubuntu and RPi.