Fix parser errors when strict_variables is set