Add platform detection to avoid issue thanks to @namyaj
Release v1.1.1