Added a configurable prefix directory option when compiling from source.
Added a configurable library directory when compiling from source