toolchain: new module that helps targeting multiple platforms