Coconut extract is an acceptable alternative if you do not have shredded coconut. However, you will have to replace the shredded coconut with another dry ingredient (flour in our case) and make sure to use natural coconut extract, and not artificial one.