add coreos support and add compile