Remove spaces before line endings
Use 's' instead of 't#' when parsing string arguments

... and fix buffer overflow in private key password handling
Update build script for OX 10.9