fix #9 - Do not rely on newly introduced method of the CG library