fix for bug 1047: Added missing boost version check

Signed-off-by: Ruben Smits <ruben@intermodalics.eu>