Fix for detecting os name