Fixes building for RPi using --no-undefined