Jeff's static compile branch

It's note quite ready for mainstream yet, but since it's not really breaking and already quite useful, I think we should merge it into master. Opening this PR to help that along ;).