Add missing libraries on linux

This is needed to compile on my linux/ubuntu, maybe not the best solution but has less impact.