making library compile