fixed compilation error on 64bits with ATI/AMD GPU support for v0.6.2.17