more static compilation issues