CMake: Vala compile rule improvments

Neither recompile all Vala source files twice nor recompile all C files every
time only a single Vala file has changed.

Proper fix for #137.

There is no cleaner way with current CMake and custom commands.