Fix passkey parameter check in compile script

The passkey paramer check was left blank.