Fix missing libraries in Makefile for Ubuntu 13.x