Support for dasm on gcc -mx32
Misc small fixes