Fix dumb bug in streamgen
Linux wants me to include wait.h