Expand variable should work even under windows.
Related to issue #41