Osx: removed plugins path detection and fixed translation path detection