Modifying project to allow building with linux

- As libstdc++ has poor support for regexes, I switch to boost::regex if
  STDREGEX_SUPPORTED is not defined. I will define this for the windows
  platform in a later commit.