destdir fix port from 1.1