Fix for building cloud editor in Mac

related to #364