update makefile template run function.

The previous code, './$(exe)', only works when $(exe) is specified
as a relative path and not a relative one.
The solution is to 'readlink' to convert relative links into absolute
ones (while leaving absolute ones unchanged), which can then be executed
directly.