Convert libpthread to new packaging style