mk: fix build with gcc 4.4 and clang