OS-agnostic module layout