added configure file because R CMD build is dumb