Build separated into 2 steps

make amalg separated from make install. Without this build can fail with
more than one parallel buildjob.