fix monolithic builds