Add missing header and compiler flag