Fix config and function call on debian.