Fix #619: replace exisiting build entry on 'add to build path'