Cleaned up linux-specific stuff.