fix(windows): refactor compile.pas for early load
fix(windows): refactor compile.pas for early load

We want the compiler to load early so that Sentry will
include it in the module list. DRYed out the compiler load
code at the same time.

tavultesoft/keymanweb,tavultesoft/keymanweb