fixes run/macroPlugins-namerHooks.scala

Makes run/macroPlugins-namerHooks.scala work equally well on both
Unix and Windows machines.
Merge pull request #3351 from xeno-by/topic/fix-platform-dependent-test

fixes run/macroPlugins-namerHooks.scala