epilines.cpp: fix some compiler issues, skip const problem