Update AMD declaration
Update header
Update build system; add jam support
Update build system