add os target and optional build soci