Checkinstall script fails when running standalone on Linux with "command not found"