fixed build for ubuntu and debian based systems