Added dynamic System.dll location detection