Fixed issues causing static KitDLL from not getting built