Apple SMC library in Swift