Various build updates.
WIP Zinc integration.

I'm going to rethink all of this, but I'm committing this for now.