change LIB path to dynamicly generated