fixed compiler warnings due to boost 1.49
check if compiler exists