sugar crm custom package navigation issue

I have created a package in sugar 7.2.0.0. I have installed it on sugar 7.5.0.0. It is working fine over there. But when I install it in sugar 7.7.0.0 the package's navigation is pointing to some different URL's.

In Sugar 7.5 menu is like http://localhost/SugarPro7/#bwc/index.php?module=module_name&action=action_name

In sugar 7.7 menu is like http://localhost/SugarPro7/#module_name/action_name

When in sugar 7.7, I manually type URL like that of sugar 7.5 it works fine.

Any help will be appreciated.