Change pin-state names to avoid clash on Windows