fixed manual makefile for gcc 4.7, closes #7