Fix control support for Dojo 1.7.x and lower

Fix to use the correct path for Dojo1 base widgets when using versions of Dojo less then version 1.8.0