moved check to external symbol in applySld using ALLOW_REMOTE_ASSETS config option instead of copilation flag