[#2135] update non-alphanumeric check for fullpath in Makefile

- add period to escape pattern
- account for sed within bash within make (9 = 2^3 + 1)