Add static compilation support