#{prefix} should be interpolated

To extract a variable "prefix", use "%W" instead of "%w".
Using "%w", installation fails.