fixes for ubuntu/debian install