Fix Boost header path inclusing if found

boost header path was not added to compiler flags once it was detected. thus, if boost headers were not somewhere in the default header paths, the compilation failed