libbsd: upgraded to 0.5.2