c4x86 native compilation

modifications to allow native compile