Fixed duplicate symbols link error; subspecs for common services