fix building Editors in release mode