Fixed build issues with Python

Signed-off-by: Alain <alainmarcel@yahoo.com>
diff --git a/INSTALL.md b/INSTALL.md
new file mode 100644
index 0000000..b232ba6
--- /dev/null
+++ b/INSTALL.md
@@ -0,0 +1,58 @@
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+## SURELOG project
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+### Executable: surelog
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+### Development Environment Required:
+
+* Linux (Ubuntu or Centos)
+
+* Unlimit all limits, in your .cshrc or .bashrc put "ulimit -s"
+  that will enable gcc to compile the very large Antlr generated C++ files
+
+* The following tools need to be installed on your machine:
+  * Java jdk (For Antlr generation)
+  * Compiler: gcc with C11 support
+    * gcc > 5.4
+  * Python3.6
+  * zlib (For Python install)
+  * uuid
+  * uuid-dev
+  * cmake
+  * tclsh
+  * maven
+  * git
+  * swig
+  * pkg-config
+  * Java "ant" build system (For G4 directory)
+  * IDE: >= netbeans8.2
+  * ddd for core dump debug
+  * valgrind --tool=memcheck to check for memory corruptions
+  * tcmalloc
+
+* We are suggesting the following package updates:
+  * sudo apt-get install build-essentials
+  * sudo apt-get install pkg-config
+  * sudo apt-get install default-jdk
+  * sudo add-apt-repository ppa:jonathonf/gcc-7.2
+  * sudo apt-get update
+  * sudo apt-get install gcc-7 g++-7	
+  * sudo apt-get install ant
+  * sudo apt-get install tclsh
+  * sudo apt install default-jre
+  * sudo apt-get install swig
+  * sudo apt-get install google-perftools
+  * sudo apt-get install libgoogle-perftools-dev
+  * sudo add-apt-repository ppa:jonathonf/python-3.6 -y
+  * sudo apt-get update -q
+  * sudo apt-get install python3.6
+  * sudo apt-get install python3.6-dev
+
+* Surelog Source code
+  * git clone https://github.com/alainmarcel/Surelog.git
+
+* Build
+  * make
+  * or see [`SVIncCompil/README`](./SVIncCompil/README.md)
+  
\ No newline at end of file
diff --git a/Makefile b/Makefile
index 2ffa812..23145b5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,8 @@
 release_full:
 	rm -rf ccache; rm -rf flatbuffers; rm -rf python3.6; rm -rf antlr4
-	cd SVIncCompil; ./build3rdparty.sh
+	cd SVIncCompil; ./buildpython.sh
+	cd SVIncCompil; ./buildantlr_mini.sh
+	cd SVIncCompil; ./buildflatbuffer.sh
 	cd SVIncCompil; ./buildrelease.sh
 
 all:
diff --git a/README.md b/README.md
index a2c8e84..d690681 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,8 @@
 
 # Build instructions and test: 
 
+ * Read [`INSTALL`](INSTALL.md)
+
 ```bash
 make
 ```
diff --git a/SVIncCompil/README.md b/SVIncCompil/README.md
index 7e98ebb..68d6978 100644
--- a/SVIncCompil/README.md
+++ b/SVIncCompil/README.md
@@ -4,39 +4,9 @@
 ### Executable: surelog
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
-### Development Environment Required:
+### Dependancies Install 
 
-* Linux (Ubuntu or Centos)
-
-* Unlimit all limits, in your .cshrc or .bashrc put "ulimit -s"
-  that will enable gcc to compile the very large Antlr generated C++ files
-
-* The following tools need to be installed on your machine:
-  * Java jdk (For Antlr generation)
-    sudo apt-get install default-jdk
-  * Compiler: gcc with C11 support
-    * gcc > 5.4
-    Example of gcc (Used for Travis build):
-       * sudo add-apt-repository ppa:jonathonf/gcc-7.2
-       * sudo apt-get update
-       * sudo apt-get install gcc-7 g++-7
-  * Python3.6
-  * uuid
-  * uuid-dev
-  * cmake
-  * tclsh
-  * maven
-  * git
-  * swig
-  * pkg-config
-  * Java "ant" build system (For G4 directory)
-  * IDE: >= netbeans8.2
-  * ddd for core dump debug
-  * valgrind --tool=memcheck to check for memory corruptions
-  * tcmalloc
-
-* Surelog Source code
-git clone https://github.com/alainmarcel/Surelog.git
+Please see [`INSTALL`](../INSTALL.md)
 
 ### Build
 
@@ -55,6 +25,8 @@
 
 ### Run a test
 
+export LD_LIBRARY_PATH=<Surelog install>/python3.6/python/lib/
+
 * dist/Release/GNU-Linux/surelog -help
 * dist/Release/GNU-Linux/surelog -writepp -parse ../TESTCASES/UnitTest/top.v
 
diff --git a/SVIncCompil/nbproject/Makefile-Release.mk b/SVIncCompil/nbproject/Makefile-Release.mk
index 40b5700..3482aa7 100644
--- a/SVIncCompil/nbproject/Makefile-Release.mk
+++ b/SVIncCompil/nbproject/Makefile-Release.mk
@@ -154,7 +154,7 @@
 ASFLAGS=
 
 # Link Libraries and Options
-LDLIBSOPTIONS=-L../antlr4/antlr4-4.7.2/runtime/Cpp/dist/ -lpthread ../antlr4/antlr4-4.7.2/runtime/Cpp/dist/libantlr4-runtime.a -ldl -lutil -lm -lrt -export-dynamic -L/usr/lib/x86_64-linux-gnu/ -ltcmalloc -L/usr/lib64 -L/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu/ -L../python3.6/python/lib/ -lpython3.6m
+LDLIBSOPTIONS=-L../antlr4/antlr4-4.7.2/runtime/Cpp/dist/ -lpthread ../antlr4/antlr4-4.7.2/runtime/Cpp/dist/libantlr4-runtime.a -ldl -lutil -lm -lrt -L../python3.6/python/lib/ -export-dynamic -L/usr/lib/x86_64-linux-gnu/ -ltcmalloc -L/usr/lib64 -L/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu/ -lpython3.6m
 
 # Build Targets
 .build-conf: ${BUILD_SUBPROJECTS}
diff --git a/SVIncCompil/nbproject/configurations.xml b/SVIncCompil/nbproject/configurations.xml
index f19f622..e2628fa 100644
--- a/SVIncCompil/nbproject/configurations.xml
+++ b/SVIncCompil/nbproject/configurations.xml
@@ -1001,7 +1001,7 @@
           <linkerLibItems>
             <linkerLibStdlibItem>PosixThreads</linkerLibStdlibItem>
             <linkerLibFileItem>../antlr4/antlr4-4.7.2/runtime/Cpp/dist/libantlr4-runtime.a</linkerLibFileItem>
-            <linkerOptionItem>-ldl -lutil -lm -lrt -export-dynamic -L/usr/lib/x86_64-linux-gnu/ -ltcmalloc -L/usr/lib64 -L/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu/ -L../python3.6/python/lib/ -lpython3.6m</linkerOptionItem>
+            <linkerOptionItem>-ldl -lutil -lm -lrt -L../python3.6/python/lib/ -export-dynamic -L/usr/lib/x86_64-linux-gnu/ -ltcmalloc -L/usr/lib64 -L/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu/  -lpython3.6m</linkerOptionItem>
           </linkerLibItems>
         </linkerTool>
       </compileType>