Initial merge of full SwitchCompat library to local source files