proper build file, checks for existance of libs