[Olena-patches] [PATCH 24/31] Improve the portability of mesh/Makefile.