now compiles on debian AND ubuntu