Properly handle libmesh-specific code