Move LIBS to end; fix make install