libs must be before sdk