[build] Allow building multiple runtimes.

This allows us to build both x86 and x86_64 runtimes on Mac OS X.
This could be extended to Linux as well.