lwip/CMakeLists.txt: Add missing link to the internal 'system' library.
Fix build with BUILD_SHARED_LIBS on.
CMakeLists.txt: Add prefix to resulting library names.
Use badvpn_add_library for all internal libraries.