Modify system/*.java to compile (but not function) without the rest.

Still requires shell/*.java, which is also used (but doesn't need to be
modified as the shell related code stands alone just fine).