Add autotools support

Signed-off-by: Brilliantov Kirill Vladimirovich <brilliantov@inbox.ru>
Signed-off-by: Jacob Gelbman <gelbman@gmail.com>