[GEM-dev] a few compilation problems