Fix a problem with detecting os and including aliases file