Fix path compare for Qt resources