TESTS: changed dynamic lib compilation to use te the -dlib option instead of special target values