Fix a bug that prevented compilation of multiple functions