fix a compilation error, patch contributed by Bill Wendling!