Separate out CXX and C sources