Adding support for scratchbox2