Fixing issue with release builds not working