OS abstraction library