Modified makefile - fixed clean rule and fixed library names.
Changed resource path and fixed bad_cast issue with istreambuf_range