Common, Engine: fixed errors reported by GCC