Updated to fix compatability with with debian