make: auto create m4

Signed-off-by: Volokh Konstantin <volokh84@gmail.com>