Set PBI_APPDIR the correct way