Fixed buildpath typo that was preventing the formula from working correctly.

Closes #21910.

Signed-off-by: Xiyue Deng <manphiz@gmail.com>