* Modify `configure` to fix an implicit `int` error; and * Add missing headers to fix use of undeclared library function errors.