removed trailing '}' in filename when standalone lib generated