fixes

Fixed list command with rsh parameter.
Add portable locking mode. Now portalonking and win32 are dependencies.