build libpng with libm
build leptonica with libpng for PNG I/O
make base test and front test
Merge pull request #157 from chrox/master

make base spec and front spec separately