This reverts commit fcfb392e.
Put libraries into one libs directory under qgroundcontrol. Changed the neccessary files with references to those libraries.