Aded getMacAddress function for windows os