Adding (require 'cl) seems to fix things; patch included.