Fixed build for 64 bit