Added boost includes to optimizer fix compilation problem.