Fix linking on 12.04