Some preliminary 64bit patches