Make headers available in compilation sandbox for Communication

And don't hardcode the C, C++ and Pascal extensions, also in Batch.

Closes #145.