Better way to conditionally compile files.
Fix --disable-threads.