Fix backwards-compat compile error