Fix for unity 4.3 api changes