DESTDIR compatibility + *FLAGs/utils configurability + ld -fpic error fix + #1 fix

Added DESTDIR support.
Added *FLAGS support
Added utils configuration support (INSTALL/RANLIB/etc)
ld -fpic -shared fix (somewhy, 2.23 binutils's ld want that -fPIC be before -shared, but not after.
Also fixes #1

Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>