Example extended and improved
updated output from examples
Improved defined consts creation for resolving libraries paths
small code cleanup
Improved compiler-better referenced libraries support