switch db/Makefile to wget --timeout instead of relying on timeout co…

…mmand - fixes #866 (#867)