Updated to not declare variables for checking for fastpath unless fastpath is being compiled in