Specified INVARIANT_CHECK with LIBED2K to avoid conflicts with libtorrent
Fix warnings on qui building