add support for building on raspberry pi

one thing that I don't know where to document is that you NEED to put up some swap space as the linking process uses more than 512MB of RAM for a short time :P