Fix incorrect library directory structure