tests: correct the dummy setup for LDFLAGS. suggested by Anton Bolshakov