fixed elmerpost cmake scripts so that it compiles when it's added from top level