Introduce and use OS matching constants