fix for non-standartd lib paths