Fix single-word write_memory.

For some reason write_memory(addr, {data}) was not calling the method
with a vector in the second argument, but just recursively calling
itself. Made the vector conversion more explicit.

--BRJ
Fix waveforms test.

Also turn on debug building.

--BRJ