Fix the userspace link

On newer systems (eg Ubuntu trusty) an OASIS Executable which includes
C code and CClib: -lsomelibrary fails to link.

The workaround is to make an intermediate internal library containing the
stubs and link that.

Signed-off-by: David Scott <dave.scott@citrix.com>