fixed freqmine compilation/link