Fix cmake dependency of library on boost date_time.