Fix compatibility with assets_path setting