Added options to bypass compilation of tests and examples