fixup for commit c74071f8

make coreDir variable mandatory for building themes. The previous approach did
not work for the Core itself, so we now check for existance of
apps/themes/style.less in the coreDir.