Fix build as Release