Fix settings save after plugin compilation