Use dirname of installation dir in install task