Static library configuration

I verified that this works in oF as well.

@morganpackard After this gets merged in I think the other open branches will be a bit tougher to fix for merging. If you have any branches with work on them, I think it would be easier if you finish them up first, merge them to master, then I can merge them into this branch all at once.