Fix incorrect placement of libfiles