clean platforms && add build scripts