fix sqrt abs linking error