ohh evil #ifdef/#endif - fix compiling with boost < 1.56