Fixing compiling of grammar files on Windows

tests/test_shift_reduce.m: Using dir module to find absolute path names
tests/grmc.cmd: Using MAKE environment variable if set