Build test executables only on 'make check'