enable APPEND_SLASH (fixes #494)