update makefile template run function.

The previous code, './$(exe)', only works when $(exe) is specified
as a relative path and not an absolute one.
The solution is to use 'readlink' to convert relative paths into absolute
ones (while leaving absolute ones unchanged) so that we will have a
consistent format regardless.