small portability fixes for stream-scaling

* get rid of whitespace around the assignment operator
   which causes trouble in some bash implementations.
* When running as non-root, /sbin is probably is not in the
   user's $PATH. Check for sysctl there explicitly.