Updated compile_style to check extension earlier
Merge pull request #112 from mdxs/upd_compile_style

Updated compile_style to check extension earlier