Add target-dir to composer to fix autoloading issues