better platform detection
0.1.12