Modularize configuration into mac and linux-independent files.