Made play plugin work with cygwin

Tried to keep it as clean as you did. Tell me if any changes need to be made!

Thanks!