Adding initial support for windows (backward compatible from XP and above)