make everything compile with GCC 4.4
compiles with GCC 4.3
fix for GCC >= 4.4
compiles with Clang 1.1 (but there are linker errors)
fix use of Boost move emulation for file_handle