Add check if operating system is linux or os x