Fixing compiler problems on moonlight