Allow the npm module to be required on Windows

/to @sam-github 

See https://groups.google.com/forum/#!topic/loopbackjs/PHwsmO9cu-s