Add setup function to install builded program into DESTDIR.
Correct removing static libraries.