fix build on OpenBSD by defining Self() Upstream-commit: cb37987ee11655ed6bbef663d245e55922354c68 Component: engine