#621 - fix undefined reference in CORS code