fixed shared build