Moved arch specific lib code
Tidied up x86 alloca code + comment