[build] less autoconf mess

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>