Remove compilation warnings, shorten embedded PDB path in release build