If you specify header file as source, it should still use C compiler and not CXX. Also fix COnly test so that it make sure that this still works...