gdal: Use $(BUILD)

See #504.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>