Fixed 64bit build