port omftools to 64-bit