CentOS build failed
```
make
Scanning dependencies of target xmrig-amd
[  2%] Building CXX object CMakeFiles/xmrig-amd.dir/src/api/Api.cpp.o
[  5%] Building CXX object CMakeFiles/xmrig-amd.dir/src/api/ApiState.cpp.o
[  7%] Building CXX object CMakeFiles/xmrig-amd.dir/src/api/NetworkState.cpp.o
[ 10%] Building CXX object CMakeFiles/xmrig-amd.dir/src/App.cpp.o
In file included from /root/xmrig-amd/src/workers/Workers.h:34:0,
                 from /root/xmrig-amd/src/App.cpp:42:
/root/xmrig-amd/src/net/JobResult.h: In member function ‘uint64_t JobResult::actualDiff() const’:
/root/xmrig-amd/src/net/JobResult.h:69:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         return Job::toDiff(reinterpret_cast<const uint64_t*>(result)[3]);
                                                                       ^
[ 13%] Building CXX object CMakeFiles/xmrig-amd.dir/src/Console.cpp.o
[ 15%] Building CXX object CMakeFiles/xmrig-amd.dir/src/Cpu_stub.cpp.o
[ 18%] Building CXX object CMakeFiles/xmrig-amd.dir/src/log/ConsoleLog.cpp.o
[ 21%] Building CXX object CMakeFiles/xmrig-amd.dir/src/log/FileLog.cpp.o
[ 23%] Building CXX object CMakeFiles/xmrig-amd.dir/src/log/Log.cpp.o
[ 26%] Building CXX object CMakeFiles/xmrig-amd.dir/src/net/Client.cpp.o
In file included from /root/xmrig-amd/src/net/Client.cpp:45:0:
/root/xmrig-amd/src/net/JobResult.h: In member function ‘uint64_t JobResult::actualDiff() const’:
/root/xmrig-amd/src/net/JobResult.h:69:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         return Job::toDiff(reinterpret_cast<const uint64_t*>(result)[3]);
                                                                       ^
[ 28%] Building CXX object CMakeFiles/xmrig-amd.dir/src/net/Job.cpp.o
[ 31%] Building CXX object CMakeFiles/xmrig-amd.dir/src/net/Network.cpp.o
In file included from /root/xmrig-amd/src/workers/Workers.h:34:0,
                 from /root/xmrig-amd/src/net/Network.cpp:43:
/root/xmrig-amd/src/net/JobResult.h: In member function ‘uint64_t JobResult::actualDiff() const’:
/root/xmrig-amd/src/net/JobResult.h:69:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         return Job::toDiff(reinterpret_cast<const uint64_t*>(result)[3]);
                                                                       ^
[ 34%] Building CXX object CMakeFiles/xmrig-amd.dir/src/net/strategies/DonateStrategy.cpp.o
[ 36%] Building CXX object CMakeFiles/xmrig-amd.dir/src/net/strategies/FailoverStrategy.cpp.o
[ 39%] Building CXX object CMakeFiles/xmrig-amd.dir/src/net/strategies/SinglePoolStrategy.cpp.o
[ 42%] Building CXX object CMakeFiles/xmrig-amd.dir/src/net/SubmitResult.cpp.o
[ 44%] Building CXX object CMakeFiles/xmrig-amd.dir/src/net/Url.cpp.o
[ 47%] Building CXX object CMakeFiles/xmrig-amd.dir/src/amd/OclCLI.cpp.o
[ 50%] Building CXX object CMakeFiles/xmrig-amd.dir/src/amd/OclGPU.cpp.o
/root/xmrig-amd/src/amd/OclGPU.cpp: In function ‘size_t InitOpenCL(GpuContext*, size_t, size_t)’:
/root/xmrig-amd/src/amd/OclGPU.cpp:611:100: error: no matching function for call to ‘regex_replace(std::string&, std::regex, const char*&)’
     source_code = std::regex_replace(source_code, std::regex("XMRIG_INCLUDE_WOLF_AES"),   wolfAesCL);
                                                                                                    ^
/root/xmrig-amd/src/amd/OclGPU.cpp:611:100: note: candidates are:
In file included from /usr/include/c++/4.8.2/regex:62:0,
                 from /root/xmrig-amd/src/amd/OclGPU.cpp:48:
/usr/include/c++/4.8.2/bits/regex.h:2162:5: note: template<class _Out_iter, class _Bi_iter, class _Rx_traits, class _Ch_type> _Out_iter std::regex_replace(_Out_iter, _Bi_iter, _Bi_iter, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
     regex_replace(_Out_iter __out, _Bi_iter __first, _Bi_iter __last,
     ^
/usr/include/c++/4.8.2/bits/regex.h:2162:5: note:   template argument deduction/substitution failed:
/root/xmrig-amd/src/amd/OclGPU.cpp:611:100: note:   deduced conflicting types for parameter ‘_Bi_ite’ (‘std::basic_regex<char>’ and ‘const char*’)
     source_code = std::regex_replace(source_code, std::regex("XMRIG_INCLUDE_WOLF_AES"),   wolfAesCL);
                                                                                                    ^
In file included from /usr/include/c++/4.8.2/regex:62:0,
                 from /root/xmrig-amd/src/amd/OclGPU.cpp:48:
/usr/include/c++/4.8.2/bits/regex.h:2182:5: note: template<class _Rx_traits, class _Ch_type> std::basic_string<_Ch_type> std::regex_replace(const std::basic_string<_Ch_type>&, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
     regex_replace(const basic_string<_Ch_type>& __s,
     ^
/usr/include/c++/4.8.2/bits/regex.h:2182:5: note:   template argument deduction/substitution failed:
/root/xmrig-amd/src/amd/OclGPU.cpp:611:100: note:   mismatched types ‘const std::basic_string<_Ch_type>’ and ‘const char*’
     source_code = std::regex_replace(source_code, std::regex("XMRIG_INCLUDE_WOLF_AES"),   wolfAesCL);
                                                                                                    ^
/root/xmrig-amd/src/amd/OclGPU.cpp:612:102: error: no matching function for call to ‘regex_replace(std::string&, std::regex, const char*&)’
     source_code = std::regex_replace(source_code, std::regex("XMRIG_INCLUDE_WOLF_SKEIN"), wolfSkeinCL);
                                                                                                      ^
/root/xmrig-amd/src/amd/OclGPU.cpp:612:102: note: candidates are:
In file included from /usr/include/c++/4.8.2/regex:62:0,
                 from /root/xmrig-amd/src/amd/OclGPU.cpp:48:
/usr/include/c++/4.8.2/bits/regex.h:2162:5: note: template<class _Out_iter, class _Bi_iter, class _Rx_traits, class _Ch_type> _Out_iter std::regex_replace(_Out_iter, _Bi_iter, _Bi_iter, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
     regex_replace(_Out_iter __out, _Bi_iter __first, _Bi_iter __last,
     ^
/usr/include/c++/4.8.2/bits/regex.h:2162:5: note:   template argument deduction/substitution failed:
/root/xmrig-amd/src/amd/OclGPU.cpp:612:102: note:   deduced conflicting types for parameter ‘_Bi_ite’ (‘std::basic_regex<char>’ and ‘const char*’)
     source_code = std::regex_replace(source_code, std::regex("XMRIG_INCLUDE_WOLF_SKEIN"), wolfSkeinCL);
                                                                                                      ^
In file included from /usr/include/c++/4.8.2/regex:62:0,
                 from /root/xmrig-amd/src/amd/OclGPU.cpp:48:
/usr/include/c++/4.8.2/bits/regex.h:2182:5: note: template<class _Rx_traits, class _Ch_type> std::basic_string<_Ch_type> std::regex_replace(const std::basic_string<_Ch_type>&, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
     regex_replace(const basic_string<_Ch_type>& __s,
     ^
/usr/include/c++/4.8.2/bits/regex.h:2182:5: note:   template argument deduction/substitution failed:
/root/xmrig-amd/src/amd/OclGPU.cpp:612:102: note:   mismatched types ‘const std::basic_string<_Ch_type>’ and ‘const char*’
     source_code = std::regex_replace(source_code, std::regex("XMRIG_INCLUDE_WOLF_SKEIN"), wolfSkeinCL);
                                                                                                      ^
/root/xmrig-amd/src/amd/OclGPU.cpp:613:95: error: no matching function for call to ‘regex_replace(std::string&, std::regex, const char*&)’
     source_code = std::regex_replace(source_code, std::regex("XMRIG_INCLUDE_JH"),         jhCL);
                                                                                               ^
/root/xmrig-amd/src/amd/OclGPU.cpp:613:95: note: candidates are:
In file included from /usr/include/c++/4.8.2/regex:62:0,
                 from /root/xmrig-amd/src/amd/OclGPU.cpp:48:
/usr/include/c++/4.8.2/bits/regex.h:2162:5: note: template<class _Out_iter, class _Bi_iter, class _Rx_traits, class _Ch_type> _Out_iter std::regex_replace(_Out_iter, _Bi_iter, _Bi_iter, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
     regex_replace(_Out_iter __out, _Bi_iter __first, _Bi_iter __last,
     ^
/usr/include/c++/4.8.2/bits/regex.h:2162:5: note:   template argument deduction/substitution failed:
/root/xmrig-amd/src/amd/OclGPU.cpp:613:95: note:   deduced conflicting types for parameter ‘_Bi_iter’ (‘std::basic_regex<char>’ and ‘const char*’)
     source_code = std::regex_replace(source_code, std::regex("XMRIG_INCLUDE_JH"),         jhCL);
                                                                                               ^
In file included from /usr/include/c++/4.8.2/regex:62:0,
                 from /root/xmrig-amd/src/amd/OclGPU.cpp:48:
/usr/include/c++/4.8.2/bits/regex.h:2182:5: note: template<class _Rx_traits, class _Ch_type> std::basic_string<_Ch_type> std::regex_replace(const std::basic_string<_Ch_type>&, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
     regex_replace(const basic_string<_Ch_type>& __s,
     ^
/usr/include/c++/4.8.2/bits/regex.h:2182:5: note:   template argument deduction/substitution failed:
/root/xmrig-amd/src/amd/OclGPU.cpp:613:95: note:   mismatched types ‘const std::basic_string<_Ch_type>’ and ‘const char*’
     source_code = std::regex_replace(source_code, std::regex("XMRIG_INCLUDE_JH"),         jhCL);
                                                                                               ^
/root/xmrig-amd/src/amd/OclGPU.cpp:614:101: error: no matching function for call to ‘regex_replace(std::string&, std::regex, const char*&)’
     source_code = std::regex_replace(source_code, std::regex("XMRIG_INCLUDE_BLAKE256"),   blake256CL);
                                                                                                     
/root/xmrig-amd/src/amd/OclGPU.cpp:614:101: note: candidates are:
In file included from /usr/include/c++/4.8.2/regex:62:0,
                 from /root/xmrig-amd/src/amd/OclGPU.cpp:48:
/usr/include/c++/4.8.2/bits/regex.h:2162:5: note: template<class _Out_iter, class _Bi_iter, class _Rx_traits, class _Ch_type> _Out_iter std::regex_replace(_Out_iter, _Bi_iter, _Bi_iter, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
     regex_replace(_Out_iter __out, _Bi_iter __first, _Bi_iter __last,
     ^
/usr/include/c++/4.8.2/bits/regex.h:2162:5: note:   template argument deduction/substitution failed:
/root/xmrig-amd/src/amd/OclGPU.cpp:614:101: note:   deduced conflicting types for parameter ‘_Bi_ite’ (‘std::basic_regex<char>’ and ‘const char*’)
     source_code = std::regex_replace(source_code, std::regex("XMRIG_INCLUDE_BLAKE256"),   blake256CL);
                                                                                                     
In file included from /usr/include/c++/4.8.2/regex:62:0,
                 from /root/xmrig-amd/src/amd/OclGPU.cpp:48:
/usr/include/c++/4.8.2/bits/regex.h:2182:5: note: template<class _Rx_traits, class _Ch_type> std::basic_string<_Ch_type> std::regex_replace(const std::basic_string<_Ch_type>&, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
     regex_replace(const basic_string<_Ch_type>& __s,
     ^
/usr/include/c++/4.8.2/bits/regex.h:2182:5: note:   template argument deduction/substitution failed:
/root/xmrig-amd/src/amd/OclGPU.cpp:614:101: note:   mismatched types ‘const std::basic_string<_Ch_type>’ and ‘const char*’
     source_code = std::regex_replace(source_code, std::regex("XMRIG_INCLUDE_BLAKE256"),   blake256CL);
                                                                                                     
/root/xmrig-amd/src/amd/OclGPU.cpp:615:103: error: no matching function for call to ‘regex_replace(std::string&, std::regex, const char*&)’
     source_code = std::regex_replace(source_code, std::regex("XMRIG_INCLUDE_GROESTL256"), groestl256CL);
                                                                                                       ^
/root/xmrig-amd/src/amd/OclGPU.cpp:615:103: note: candidates are:
In file included from /usr/include/c++/4.8.2/regex:62:0,
                 from /root/xmrig-amd/src/amd/OclGPU.cpp:48:
/usr/include/c++/4.8.2/bits/regex.h:2162:5: note: template<class _Out_iter, class _Bi_iter, class _Rx_traits, class _Ch_type> _Out_iter std::regex_replace(_Out_iter, _Bi_iter, _Bi_iter, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
     regex_replace(_Out_iter __out, _Bi_iter __first, _Bi_iter __last,
     ^
/usr/include/c++/4.8.2/bits/regex.h:2162:5: note:   template argument deduction/substitution failed:
/root/xmrig-amd/src/amd/OclGPU.cpp:615:103: note:   deduced conflicting types for parameter ‘_Bi_ite’ (‘std::basic_regex<char>’ and ‘const char*’)
     source_code = std::regex_replace(source_code, std::regex("XMRIG_INCLUDE_GROESTL256"), groestl256CL);
                                                                                                       ^
In file included from /usr/include/c++/4.8.2/regex:62:0,
                 from /root/xmrig-amd/src/amd/OclGPU.cpp:48:
/usr/include/c++/4.8.2/bits/regex.h:2182:5: note: template<class _Rx_traits, class _Ch_type> std::basic_string<_Ch_type> std::regex_replace(const std::basic_string<_Ch_type>&, const std::basic_regex<_Ch_type, _Rx_traits>&, const std::basic_string<_Ch_type>&, std::regex_constants::match_flag_type)
     regex_replace(const basic_string<_Ch_type>& __s,
     ^
/usr/include/c++/4.8.2/bits/regex.h:2182:5: note:   template argument deduction/substitution failed:
/root/xmrig-amd/src/amd/OclGPU.cpp:615:103: note:   mismatched types ‘const std::basic_string<_Ch_type>’ and ‘const char*’
     source_code = std::regex_replace(source_code, std::regex("XMRIG_INCLUDE_GROESTL256"), groestl256CL);
                                                                                                       ^
make[2]: *** [CMakeFiles/xmrig-amd.dir/src/amd/OclGPU.cpp.o] Error 1
make[1]: *** [CMakeFiles/xmrig-amd.dir/all] Error 2
make: *** [all] Error 2
```