add compilation support for 32 and 64 architectures