got rid of minor compiler warnings (-Wall)
defined USE_RINTERNALS for faster compiled code