Fixed RemoveDuplicate implementation, changed Release build parameter