SpikeMonitor working (in a hacky way) with c++ standalone