fix system, fix .lib dependencies, moved yaml libs to proper directory