Fixed compilation issues on mobile, but now have linking issues