Running dist and unit tasks separate to go around os undefined error