Fixed compilation when main header is manually included