fixed boost log undefined error/defining functions
header dep