Change Rakefile, Erlang version detection to cope with optional prefix and postfix around the version number e.g. R15B or 17
Changes to driver source file for Erlang 17