Extend abspathx makefile function to multiple arguments