Allow both compile on save and on build options to be enabled.

Previously enabling one option would disable the other.