setup app path if composer installed constant is set