Solaris fixes and some execPath improvements