first pass at ubuntu compatibility