Fix build configurations
Fix tooltip on production mode