Fix various warnings, remove silly useless NO_INLINE system, remove the need for -fkeep-inline-functions