Fixed #4848 (--include not working since the last 2 days)