chansrv: some rail fixes from A8
common: add another x86-64 define