Possible solution for #327 - platform detect