Fix mkdir for solaris
fix src path
fix for solaris