Fixing backward-compatibility with Spectre [skip-ci]