Switched to using built in puppet util for detecting OS.