Hard-coded path to local build of libgd; was defaulting to the system lib.