Added support for missing linker switches to compile on Raspberry Pi