attempted fix for 7.8.3

I don't know if this is sufficient to also be compatible with < 7.8.3, or if the empty search path works. But it's a start, and it compiles in 7.8.3! :)