Tests and examples do compile

But do not work yet. The only problem seems to be the use of shared
memory.