core: use run function to create build directory
core: add install of autopoint in Travis CI