Initial port to ARM linux

- compiled and tested on Raspberry Pi raspbian wheezy