masruca: Fix compiler errors on OS X