static compilation now works from files using export expression