Configure: build path fixes

Signed-off-by: Eduardo Silva <eduardo@monkey.io>