older gcc doesn't have __has_extension
put -fPIC back for boost