[Olena-patches] [PATCH 14/19] Fix the regeneration of headers.mk from Makefile.