configure checks the host system not the target one. Override these variables. Signed-off-by: Rosen Penev <rosenp@gmail.com>