Fix for Shark custom build