Fix linker errors by adding missing CONTAM_API macro