Fixed small glitch in Makefile (old target dependency)
Fixed build  with gcc 4.8. The tests can still not be linked with this version