Support building of system image in binary builds

I'm going to wait for travis to turn green before I merge
I'm kind of surprised this hasn't come up before. Do we have a "right way" of testing file path equality? `realpath` canonicalizes `"."` and `".."`, but doesn't do anything about case. Should it?