1. Migrated bulding process from Makefile to Python, which is more portable. 2. Added .cfg file to set the common searching paths. User can also add their own paths.