Fix compilation on Unix.

This should fix the other outstanding compilation issues on Linux.