***Description***

Compiling bitcoind (cf0c67b62c2037dc9e70ea84ffee3b205a9b1bef, master branch) fails with:

```
/usr/include/c++/4.8.2/bits/stl_list.h:1149:9: note:   template argument deduction/substitution failed:
rpc/server.cpp:54:122: note:   cannot convert ‘g_rpc_server_info.RPCServerInfo::active_commands.std::list<_Tp, _Alloc>::cend<RPCCommandExecutionInfo, std::allocator<RPCCommandExecutionInfo> >()’ (type ‘std::list<RPCCommandExecutionInfo>::const_iterator {aka std::_List_const_iterator<RPCCommandExecutionInfo>}’) to type ‘std::list<RPCCommandExecutionInfo>::iterator {aka std::_List_iterator<RPCCommandExecutionInfo>}’
         it = g_rpc_server_info.active_commands.insert(g_rpc_server_info.active_commands.cend(), {method, GetTimeMicros()});
```

***Steps to replicate***

Replicable on two different VM's:

(- git checkout master)
- git pull
- make clean && ./autogen.sh && ./configure --disable-wallet --without-gui --with-zmq --enable-zmq && make

***Expected behavior***

Compilation should be successful.

***Current behavior***

Compilation was not successful.

***Bitcoin Core Version***

```
[user@localhost bitcoin]$ git branch
* master
[user@localhost bitcoin]$ git log
commit cf0c67b62c2037dc9e70ea84ffee3b205a9b1bef

```
***Environment Info***

```
[user@localhost bitcoin]$ cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
```

```
[user@localhost bitcoin]$ cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel Xeon E312xx (Sandy Bridge)
stepping	: 1
microcode	: 0x1
cpu MHz		: 3092.972
cache size	: 16384 KB
physical id	: 0
siblings	: 1
core id		: 0
cpu cores	: 1
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx hypervisor lahf_lm xsaveopt arat
bogomips	: 6185.94
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management:
```

```
[user@localhost bitcoin]$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC)
```


{
    if (!timerInterface)
        timerInterface = iface;
}
void RPCSetTimerInterface(RPCTimerInterface *iface)
{
    timerInterface = iface;
}
void RPCUnsetTimerInterface(RPCTimerInterface *iface)
{
    if (timerInterface == iface)
        timerInterface = nullptr;
}
void RPCRunLater(const std::string& name, std::function<void()> func, int64_t nSeconds)
{
    if (!timerInterface)
        throw JSONRPCError(RPC_INTERNAL_ERROR, "No timer handler registered for RPC");
    deadlineTimers.erase(name);
    LogPrint(BCLog::RPC, "queue run of timer %s in %i seconds (using %s)\n", name, nSeconds, timerInterface->Name());
    deadlineTimers.emplace(name, std::unique_ptr<RPCTimerBase>(timerInterface->NewTimer(func, nSeconds*1000)));
}
int RPCSerializationFlags()
{
    int flag = 0;
    if (gArgs.GetArg("-rpcserialversion", DEFAULT_RPC_SERIALIZE_VERSION) == 0)
        flag |= SERIALIZE_TRANSACTION_NO_WITNESS;
    return flag;
}
CRPCTable tableRPC;