Allow the npm module to be required on Windows

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