Index: init.c
===================================================================
--- init.c	(revision 732)
+++ init.c	(revision 733)
@@ -164,8 +164,7 @@
 raydium_file_log_fopen_index=0;
 raydium_frame_time=0;
 raydium_capture_asked=RAYDIUM_CAPTURE_NONE;
-raydium_sky_name_defined=0;
-raydium_sky_box_set_name("","tga");
+raydium_sky_prefix_defined=0;
 
 raydium_ode_timestep = (0.006f);
 raydium_ode_physics_freq = 400;
     define __global __declspec(dllexport)
 #       define __rayapi __declspec(dllexport)
 #   endif
-#else
+# endif
+#else // Not under WIN32
+# ifdef LIBRAY
+#    define __global
+#    define __rayapi
+# else
 #    ifdef MAIN_H
 #       define __global extern
 #       define __rayapi
@@ -37,6 +43,7 @@
 #       define __global
 #       define __rayapi
 #    endif
+# endif
 #endif
 
 #ifdef SWIG