Fix a problem with OS detection for linux aliases and functions files