Added missing build dependencies and improved cleanup action
Added missing libbsd dependency