libproxy: attempt to fix build on Darwin

It seems it won't compile with too old compilers.