Fix Release build mode