Added boost dependency to cmake script
Correct inclusion of functional on windows
Removed inclusion of functional, as it is not needed...