Small fixes

Fixes regarding pre-compiled header corruption and injection static
methods