modified compilation workflow