Separate compile and link time PDB files.

Closes GH-82