LCM: Moved header flags to actual build script to avoid searching
for inexistent test file.