Helper for replacing use of cl functions with cl-lib equivalent