Fix go library detection.