Fixed error in configure
Added configure script to composer build cycle. Close #35.