Simplify configure script launch (we have proper module name there already, globus flavour empty by default).
Use rpm macros consistently as recommended in packaging guidelines - $RPM_BUILD_ROOT changed to %{buildroot}.
Fix build error with the newest compilers (gcc 4.9.0) and -O2 optimizations.