[CB-4956] Change mobilespec dependencies to remove .core

(cherry picked from commit 06262fa18baa625003a7e0dc25c740c82ef8baaa)