More configure options added to specify cflags/ldflags/libxxx/....; README.md updated.