load extension before using constants