Fix compile warning
Fix crash if smc failed to get current authorization during first use
Merge pull request #20 from AnakinMac/master

Some fixes