fix for 64bit unix