fixed dashes to underscore in Gentoo and FreeBSD