Introduce configuration header

Configuration options should be set in config.h instead of defined randomly
throughout sorce code. This confines the configuration options to a single
file.