fix bug when compile part of MoGS
Merge branch 'master' of git.univ-bpclermont.fr:mogs/mogs_optimization