simplify link arguments for the unittest .so