Updated makefiles, removed -ll dependency, compilable with g++4.8 on aisa.