fix return status from single lib installation function