build: Makefile should respect configure --prefix

Fixes a regression that got introduced in commit ddf4d1a.