Better regex for windows paths

- Tests do not show it failing, but this regex should ensure the root is
  detected
Skip conditional when running in Windows

- Per comment on zfcampus/zf-apigility-skeleton#6, skipping this conditional on
  windows should also rectify the issue.