Fix undefined notice during install