Enable OpenSSL support for Ubuntu, MacOSX and Windows 64-bit

Also update common scripts on MacOSX and winddows to set QT_QMAKE_EXECUTABLE