Fixed compiling to a directory with `.styl` in the name. Closes #1370