Adding multi OS support

Signed-off-by: Philippe Ombredanne <pom@nexb.com>