Cleanup linking with YaHTTP

Replace the hardcoded paths with variables.