Added #if (MonoTouch) around the configuration stuff (which isn't support under Mono)