SI-4695, package object separate compilation.

The mechanism being used to notice when a package object
is being compiled from source does not appear to work at all.
I applied a different mechanism, which does appear to.