Fix compiling from source level by Maven