fix build without dependencies