Fix __pencil_maybe and __pencil_assert in compatibility mode