add -bin suffix and make ~x86 compatible