Support cmake building i686 and amd64 asm for develop branch

Support cmake building i686 and amd64 asm in Linux and Windows for develop branch.
* Use -DASM686=1 to enable building i686 asm.
* Use -DAMD64=1 to enable building amd64 asm.