fix entitielments
fix build config