Fix GCC build issue on python target

 - added "-fPIC" to build flags
Use of atomic complete flag