Fixed compilation errors on my desktop
Fixed problem finding gen'd c and header files
Ensure that authenticate with pubkey works successfully