Fixed Release build problem