Create ability to install into dest_dir when building

Sometimes install_dir not writeable or sandboxed, in this case
we can emulate DESTIR makefile behaviour

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
that is incorrect if software needs libgmp it needs to build and install it