Fixed incorrect static library path
Temporary variables cannot be referenced inside a closure