roll back to non-autotools

Signed-off-by: Dmitry Ponyatov <dponyatov@gmail.com>
Signed-off-by: Dmitry Ponyatov <dponyatov@gmail.com>