Work around more OSX linking stupidity

For some reason Apple's linker requires every symbol to be resolved
when linking a shared library.  This means if you've got two shared
libraries that depend on each other then pconfigure won't build them
on OSX.  While I have no idea why this sort of behavior exists, there
is an easy way to work around it...

There's also a test that demonstrates this behavior.