Added the shared object configuration for when code has been outlined.

I changed the compileCommand return type to a list, so that I can return multiple compile
commands, when I have to compile OUT and origin separately.
Fixed a pretty basic error where I was referencing a non-existing function.