obuild package improvement

Related to #2807