changes for boost 1.53 and cuda 5.0.32