Refacrot for portable libs