Fix Makefile to support compile on ubuntu 12.04

Applying a fix to Makefile based on https://github.com/jordansissel/grok/issues/8
Note, this has not been extensively tested
Merge pull request #14 from bilsch/master

fix for LDFLAGS