[FIX] added missing ifdef
Merge pull request #662 from weese/feature/stream-fixes

[FIX] added missing ifdef