Fixed crash when running outisde of eclipse. Yay.