add includepath to new fmstatic class and cmake fixes

Authored by camiloh on Oct 13 2019, 4:57 AM.