Log Message: Use configure framework and separate configure and build steps as usually. From GSoC 2011 project by Stathis Kamperis.