Fix bug 'cannot add multi platforms'. (#3)