Checking the OS before issuing xcopy command

This will impact future feature of CI for mono
Merge pull request #2 from fraga/OSDependent

Checking the OS before issuing xcopy command