Detect if compiling from stdin.

Currently we have to conditionally compile sys ourselves, but once the
initial version is built we can bootstrap off of it.