Had to change the sequence for a successful build with make.