Turn object splitting off when we use the dynamic way

There's no point splitting objects when we're going to be dynamically
linking. Plus it breaks compilation on OSX x86.
Fix the handling of ways, and in particular Opt_Static and Opt_SplitObjs