Added support for non-debian based OSes