Trying to implement multi OS support