Changed Atlas libraries back to staic linking